from django.urls import path
from . import views

app_name = 'points'

urlpatterns = [
    # 积分
    path('', views.points_home, name='points_home'),
    path('records/', views.points_records, name='points_records'),
    
    # 积分商城
    path('shop/', views.rewards_shop, name='rewards_shop'),
    path('shop/<int:reward_id>/', views.reward_detail, name='reward_detail'),
    path('shop/<int:reward_id>/exchange/', views.reward_exchange, name='reward_exchange'),
    
    # 兑换记录
    path('exchanges/', views.exchange_history, name='exchange_history'),
]
